package com.xiaoke.service.impl;

import com.xiaoke.entity.GoodsPrice;
import com.xiaoke.mapper.GoodsPriceMapper;
import com.xiaoke.service.GoodsPriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class GoodsPriceServiceImpl implements GoodsPriceService {
    @Autowired
    private GoodsPriceMapper goodsPriceMapper;

    @Override
    public GoodsPrice selectByPrimaryKey(String goodsPriceId) {
        return goodsPriceMapper.selectByPrimaryKey(goodsPriceId);
    }

    @Override
    public List<Map<String, Object>> findByIds(String... id) {
        return goodsPriceMapper.findByIds(id);
    }
}
